package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 franchiser
 * 
 * @author ruoyi
 * @date 2025-04-29
 */
public class Franchiser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Long franchiserId;

    /**  */
    @Excel(name = "")
    private String name;

    /**  */
    @Excel(name = "")
    private Long level;

    /**  */
    @Excel(name = "")
    private String phone;

    /**  */
    @Excel(name = "")
    private Long primaryOrNot;

    /**  */
    @Excel(name = "")
    private Long primaryId;

    /** 战队id */
    @Excel(name = "战队id")
    private String warTeam;

    /** 2级上线 */
    @Excel(name = "2级上线")
    private Long agentUpline;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFranchiserId(Long franchiserId) 
    {
        this.franchiserId = franchiserId;
    }

    public Long getFranchiserId() 
    {
        return franchiserId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPrimaryOrNot(Long primaryOrNot) 
    {
        this.primaryOrNot = primaryOrNot;
    }

    public Long getPrimaryOrNot() 
    {
        return primaryOrNot;
    }
    public void setPrimaryId(Long primaryId) 
    {
        this.primaryId = primaryId;
    }

    public Long getPrimaryId() 
    {
        return primaryId;
    }
    public void setWarTeam(String warTeam) 
    {
        this.warTeam = warTeam;
    }

    public String getWarTeam() 
    {
        return warTeam;
    }
    public void setAgentUpline(Long agentUpline) 
    {
        this.agentUpline = agentUpline;
    }

    public Long getAgentUpline() 
    {
        return agentUpline;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("franchiserId", getFranchiserId())
            .append("name", getName())
            .append("level", getLevel())
            .append("phone", getPhone())
            .append("primaryOrNot", getPrimaryOrNot())
            .append("primaryId", getPrimaryId())
            .append("warTeam", getWarTeam())
            .append("agentUpline", getAgentUpline())
            .toString();
    }
}
